package com.gxar.quick.ar.server.base.model.exchange.vo.request;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/19 16:53
 */
@Data
@ApiModel("兑换品赠送请求")
public class ExchangeItemSendRequest {

    @ApiModelProperty("用户兑换品ID")
    @JSONField(name = "user_exchange_item_id")
    @JsonProperty("user_exchange_item_id")
    @NotNull(message = "用户兑换品ID不能为空")
    private Long userExchangeItemId;

    @ApiModelProperty("手机号")
    @JSONField(name = "phone")
    @JsonProperty("phone")
    @NotBlank(message = "手机号不能为空")
    private String phone;

}
